<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="./lib/vue.min-2.6.11.js"></script>
</head>

<body>
    <div id="app">
        <p>{{msg}}</p>
        <p v-text='msg'></p>
        <p v-html='msg2'></p>
        <p v-text="msg+'你好呀11222'"></p>

        <p v-text="flage?msg:msg2"></p>

    </div>
    <script>
        const vm = new Vue({
            el: '#app',
            data: {
                msg: '学习到了知识就马上去实践，这不是一件很快乐的事情吗？',
                msg2: '<h3> 这是 h3 标签</h3>',
                flage: true

            },
            methods: {

            }
        })
    </script>
</body>

</html>